<!--{template header,admin}-->
<div style="width:100%; height:15px;color:#000;margin:0px 0px 10px;">
  <div style="float:left;"><a href="index.php?admin_main/stat{$setting['seo_suffix']}" target="main"><b>控制面板首页</b></a>&nbsp;&raquo;&nbsp;消息模板</div>
</div>
<!--{if isset($message)}-->
<!--{eval $type=isset($type)?$type:'correctmsg'; }-->
<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
	<tr>
		<td class="{$type}">{$message}</td>
	</tr>
</table>
<!--{/if}-->
<table width="100%" cellspacing="1" cellpadding="4" align="center" class="tableborder">
	<tbody><tr class="header"><td>设置说明</td></tr>
	<tr class="altbg1"><td>对于消息模板的相关变量说明:
title  :问题标题
description  :问题描述
site_name  :网站名称
注：问题内容后面会自动加上查看问题的链接 </td></tr>
</tbody></table>
<br />
<form action="index.php?admin_setting/msgtpl{$setting['seo_suffix']}" method="post">
	<a name="基本设置"></a>
	<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
		<tr class="header">
			<td colspan="2">参数设置</td>
		</tr>
		<tr>
			<td class="altbg1" width="45%"><b>问题有新回答:</b><br><span class="smalltxt">站内消息或者邮件的标题</span></td>
			<td class="altbg2"><input  type="text" {if isset($msgtpl[0]['title'])}value="{$msgtpl[0]['title']}"{/if} style="width:300px;" name="title1"></td>
		</tr>
		<tr>
			<td class="altbg1" width="45%"><b>消息内容:</b><br><span class="smalltxt">站内消息或者邮件的内容</span></td>
			<td class="altbg2"><textarea class="area" name="content1"  style="height:100px;width:300px;">{if isset($msgtpl[0]['content'])}{$msgtpl[0]['content']}{/if}</textarea></td>
		</tr>
		<tr>
			<td class="altbg1" width="45%"><b>回答被采纳:</b><br><span class="smalltxt">站内消息或者邮件的标题</span></td>
			<td class="altbg2"><input  type="text" {if isset($msgtpl[1]['title'])}value="{$msgtpl[1]['title']}"{/if} style="width:300px;" name="title2"></td>
		</tr>
		<tr>
			<td class="altbg1" width="45%"><b>消息内容:</b><br><span class="smalltxt">站内消息或者邮件的内容</span></td>
			<td class="altbg2"><textarea class="area" name="content2"  style="height:100px;width:300px;">{if isset($msgtpl[1]['content'])}{$msgtpl[1]['content']}{/if}</textarea></td>
		</tr>
		<tr>
			<td class="altbg1" width="45%"><b>问题超时自动关闭:</b><br><span class="smalltxt">站内消息或者邮件的标题</span></td>
			<td class="altbg2"><input  type="text" {if isset($msgtpl[2]['title'])}value="{$msgtpl[2]['title']}"{/if} style="width:300px;" name="title3"></td>
		</tr>
		<tr>
			<td class="altbg1" width="45%"><b>消息内容:</b><br><span class="smalltxt">站内消息或者邮件的内容</span></td>
			<td class="altbg2"><textarea class="area" name="content3"  style="height:100px;width:300px;">{if isset($msgtpl[2]['content'])}{$msgtpl[2]['content']}{/if}</textarea></td>
		</tr>
	</table>
	<br>
	<center><input type="submit" class="button" name="submit" value="提 交"></center><br>
</form>
<br>
<!--{template footer,admin}-->